home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-08-19 | 6.2 KB | 14 lines | [TEXT/MSET] |
- \ String class.
-
- \ This class is changed radically from Neon! We now keep two offsets into a string
- \ - POS and LIM. POS marks the "current" position, and LIM the "current" end.
- \ Most string operations operate on the substring delimited by POS and LIM, which
- \ we call the active part of the string. We also keep the size of the string (the
- \ real size, that is) in an ivar, so that we can get it quickly without a system
- \ call.
-
- $ D constant RET \ Carriage return character
-
- : $ER
- setFwind
- cr ." size